/* pages/client/client-contract/client-contract.wxss */
.client-contract{
  background: var(--bg-color);
  padding: 32rpx;
  input{
    border: 0;
    height: 60rpx;
    line-height: 60rpx;
    min-height: auto;
    width: auto;
    flex: 1;
    border-bottom: 1rpx solid #000;
  }
  .contract-title{
    font-size: 40rpx;
    font-weight: bold;
    letter-spacing: 20rpx;
    text-align: center;
  }// contract-title end

  .contract-header{
    font-weight: bold;
    font-size: 32rpx;
    color: #000;
    > view{
      display: flex;
      align-items: center;
      margin: 20rpx 0;
    }
  } //contract-header end
  
  .contract-warn{
    font-size: 24rpx;
    color: #707070;
    text-indent: 2em;
    margin: 20rpx 0;
    line-height: 40rpx;
  } //contract-warn end

  .contract-info{
    .info-title{
      font-size: 32rpx;
      margin: 20rpx 0;
      font-weight: bold;
    }
    textarea{
      width: 100%;
      height: auto;
      border-bottom: 1rpx solid #000;
    }
    input{
      display: inline-block;
      min-width: auto;
      padding: 0 10rpx;
      min-height: 48rpx;
      height: 40rpx;
      vertical-align: middle;
    }
    .info-text{
      font-size: 26rpx;
      line-height: 40rpx;
      color: #8E8E93;
      input{
        width: 80rpx;
        color: #333;
        text-align: center;
      }
      &.adapt view{
        display: flex;
      }
      &.adapt input{
        flex: 1;
      }
    }
  }// contract-info end
  
  .contract-price{
    margin-top: 20rpx;
    font-size: 26rpx;
    line-height: 40rpx;
    color: #8E8E93;
    .price-title{
      color: #111;
    }
    .price-list{
      >text{
        display: block;
      }
      textarea{
        width: 100%;
      }
      .pay-way{
        >text{
          display: block;
          margin-left: 2em;
          text{
            padding-left: 20rpx;
            color: #111;
            text-decoration: underline;
          }
        }
      }
    }
  } //contract-price end

  .contract-bottom{
    font-size: 30rpx;
    padding: 40rpx 0 0;
    >view{
      display:flex;
      align-items: center;
    }
  } // contract-bottom end
  .contract-button{
    margin-top: 40rpx;
    > button{
      background: #F6A526;
      font-size: 32rpx;
      color: #fff;
      width: 100%;
      line-height: 88rpx;
      border-radius: 10rpx;
      border: 0;
    }
  } //contract-button end
  .table, .table view{
    margin: 0 auto;
  }
  .table {
    display: table;
    width: 100%;
    border-collapse: collapse; //合并边框
    box-sizing: border-box;
    font-size: 24rpx;
    .table-tr {
      display: table-row;
      height: 70rpx;
    }
    .table-td {
      display: table-cell;
      border: 2rpx solid gray;
      text-align: center;
      vertical-align: middle;
      background: #fff;
      &:first-child{
        min-width: 60rpx;
      }
    }
    input{
      border: 0;
    }
  } //table  end
  .table-button{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10rpx;
    button{
      line-height: 45rpx;
      margin: 0 30rpx;
      padding: 0;
      width: 80rpx;
      border-radius: 10rpx;
      background: #fff;
      color: gray;
      border: 2rpx solid #eee;
    }
  } // .table-button end
  
  .order-list{
    display: flex;
    padding: 16rpx 0;
    color:#051920;
    font-size: 30rpx;
    margin: 20rpx 0;
    border-radius: 10rpx;
    align-items: center;
    > text{
      min-width: 120rpx;
      padding-right: 15rpx;
    }
    > label{
      flex: 1;
      .picker{
        color: #333;
        font-size: 30rpx;
      }
    }
  } //  order-list end
}